package zy.zmx.wu;

public class Dx {
    public static void main(String[] args) {
		
		Scanner scan= new Scanner(System.in);
		System.out.println("请输入a的值：");
		int a = scan.nextInt();
		
		System.out.println("请输入b的值：");
		int b = scan.nextInt();
		
		System.out.println("请输入c的值：");
		int c = scan.nextInt();
		
		if(a>b && a>c) {
			if(b>c) {
				System.out.println(c+">"+b+">"+a);
			}
			else if(c>b) {
				System.out.println(b+">"+c+">"+a);
			}
		}
		else if(b>a && b>c) {
			if(a>c) {
				System.out.println(c+">"+a+">"+b);
			}
			else if(c>a) {
				System.out.println(a+">"+c+">"+b);
			}
		}
		else if(c>a &&c>b) {
			if(a>b) {
				System.out.println(b+">"+a+">"+c);
			}
			else if(b>a) {
				System.out.println(a+">"+b+">"+c);
			}
		}
	}
}
